package com.fellansoft.moviescollection.persistence;

/**
 * Created by IntelliJ IDEA.
 * User: Edy    ->Naty
 * Date: 12.05.2012
 * Time: 18:12
 * To change this template use File | Settings | File Templates.
 */
public class PersistenceConstants {
    /**
     * Name of the database
     */
    public static final String DATABASE_NAME = "moviescollection.db";
    /**
     * Name of the table for movies
     */
    public static final String MOVIES_TABLE = "movies";
    /**
     * Unique id for each movie
     */
    public static final String MOVIES_ID = "id";
    /**
     * Title of a movie
     */
    public static final String MOVIES_TITLE = "title";
    /**
     * Uri of a cover image
     */
    public static final String MOVIES_COVER = "cover";
    /**
     * Boolean value stored as a string for the property of a movie as being favorited
     */
    public static final String MOVIES_FAV = "favourited";
    /**
     * Boolean value stored as a string for the property of a movie as being marked for the watch list
     */
    public static final String MOVIES_WATHCLIST = "watchlist";
    /**
     * Description of a movie
     */
    public static final String MOVIES_DESCR = "persDescription";
    /**
     * Release date stored as a string containing milliseconds
     */
    public static final String MOVIES_RELEASE = "releaseDate";
    /**
     * Rating form the imdb website
     */
    public static final String MOVIES_IMDBRATING = "ratingIMDB";
    /**
     * Raiting for thh movie
     */
    public static final String MOVIES_OWNRATING = "ratingOwn";
    /**
     * director for the movie
     */
    public static final String MOVIES_DIRECTOR = "director";
    /**
     * List of pictures for the movie
     */
    public static final String PICTURES_TABLE = "pictures";
    /**
     * Id for a picture
     */
    public static final String PICTURES_ID = "id";
    /**
     * Movie Id for the film the picture belong to
     */
    public static final String PICTURES_MOVIEID = "movieId";
    /**
     * path to find the picture
     */
    public static final String PICTURES_PATH = "path";

//    public static final String CATEGORIES_TABLE = "categories";
//    public static final String CATEGORIES_ID = "id";
//    public static final String CATEGORIES_NAME = "name";

    /**
     * List of categories for a movie
     */
    public static final String MOVIECATEGORIES_TABLE = "movieCategories";
    /**
     * Id corresponding to the categories for a specific movie
     */
    public static final String MOVIECATEGORIES_MOVIEID = "movieId";
    /**
     * The Id of the category of a movie
     */
    public static final String MOVIECATEGORIES_CATEGORYID = "categoryId";
    /**
     * More information for a movie
     */
    public static final String MOREINFO_TABLE = "moreInfo";
    /**
     * More information for the movie ID
     */
    public static final String MOREINFO_MOVIEID = "movieId";
    /**
     * Mor information for the runtime of a movie
     */
    public static final String MOREINFO_RUNTIME = "runtime";
    /**
     * More information regarding the description of a movie
     */
    public static final String MOREINFO_DESCRIPTION = "description";

    /**
     * Name of the intent sent when the movie was saved successfully to database
     */
    public static final String PC_MOVIE_SAVED_SUCCESSFULLY = "PC_movie_saved_successfully";

    /**
     * Name of the intent sent when the movie was not saved successfully
     */
    public static final String PC_MOVIE_SAVE_ERROR ="PC_movie_was_not_saved_successfully";

    /**
     * Name of the intent sent when there was a problem receiving movies from database
     */
    public static final String PC_FOLDERS_RECEIVED_ERROR = "PC_movies_received_error";

    /**
     * Name of the intent sent when there was a problem receiving movies from database
     */
    public static final String PC_MOVIES_RECEIVED_ERROR = "PC_movies_received_error";

    /**
     * Name of the intent sent when the folders were received successfully
     */
    public static final String PC_FOLDERS_RECEIVED_SUCCESSFULLY = "PC_folders_received_successfully";
    /**
     * Name of the intent sent when the movies were received successfully
     */
    public static final String PC_MOVIES_RECEIVED_SUCCESSFULLY = "PC_movies_received_successfully";
    /**
     *  Name of the intent sent when the movies were updated successfully
     */
    public static final String PC_MOVIES_UPDATED_SUCCESSFULLY = "PC_movies_updated_successfully";
    /**
     *  Name of the intent sent when the movies had a problem updating
     */
    public static final String PC_MOVIES_UPDATED_ERROR = "PC_movies_updated_error";
    /**
     *  Name of the intent sent when the movies were deleted successfully
     */
    public static final String PC_MOVIE_DELETED_SUCCESSFULLY = "PC_movies_deleted_successfully" ;
    /**
     *  Name of the intent sent when the movies had a problem deleting a movie
     */
    public static final String PC_MOVIE_DELETED_ERROR = "PC_movies_deleted_error" ;
    /**
     *  Name of the intent sent when the movies were successfully returned by their ID
     */
    public static final String PC_MOVIE_GETBYID_SUCCESSFULLY = "PC_movies_getByID_successfully" ;
    /**
     *  Name of the intent sent when there was a problem returning the movie by their ID
     */
    public static final String PC_MOVIE_GETBYID_ERROR = "PC_movies_getByID_error" ;
    /**
     *  Name of the intent sent when the movies were successfully received from the search
     */
    public static final String PC_MOVIES_FROM_SEARCH_SUCCESSFULLY = "PC_movies_from_search_successfully";
    /**
     *  Name of the intent sent when there was a problem in returning the movie from sa search
     */
    public static final String PC_MOVIES_FROM_SEARCH_ERROR = "PC_movies_from_search_error";

}
